package org.example.j2024_11_26.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
@ConfigurationProperties(prefix = "mylist")
@Data
public class MyList {
    private List<String> list1 ;
    private Map<String , Integer> mymap ;
}
